package com.mydemo.springlearning.functions.paramreceive.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author hwx
 * @date 2022-07-21 18:03
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EatTaskImpl implements MyTask {
    String name ;
    String gender;

    @Override
    public String act() {
        return "吃";
    }
}
